<?php ob_start();
require('includes/connect.php');
    	$expert_category_id = $_POST["expert_category_id"];
    	$expert_category = $_POST["expert_category"];

$sql="Update expert_category set `expert_category`='$expert_category' where expert_category_id=".$expert_category_id;
$result=mysql_query($sql);
		
		if($result)
						{
	
					header("location:expert_category.php");
		}
	else {
		
		echo mysql_error();
	}
	
ob_flush();	?>


